 /**
 * jims
 */
 package com.jims.master.modules.sync.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;
import java.util.List;


 /**
 * 门诊摘要Entity
 * @author ct
 * @version 2017-11-17
 */
public class ClinicMaster extends DataEntity<ClinicMaster> {
	
	private static final long serialVersionUID = 1L;
	private String baseInfo;		// 用户id
	private String name;		// 患者姓名
	private String ageYear;		// 年龄（岁）
	private String ageMonth;		// 年龄（月）
	private String phone;		// 电话号码
	private String type;		// 患者类型代码
	private String chargeType;		// 费别
	private String orNumber;		// 门诊记录表编号
	private String vrName;		// 就诊机构名称
	private String vrCode;		// 就诊机构代码
	private String vdName;		// 就诊科室名称
	private Date vDatetime;		// 就诊日期时间
	private String clinicChage;		// 实收费用
	private String consulteProblem;		// 咨询问题
	private String hsRequirement;		// 卫生服务要求
	private String psTime;		// 症状持续时间(min)
	private String disPlan;		// 处置计划
	private String visitSign;		// 初诊标志代码
	private String hpAssessment;		// 健康问题评估
	private String allHistory;		// 过敏史
	private String isAllHistory;		// 过敏史标志
	private String pastHistory;		// 既往史
	private String clinicNo;		// 门（急）诊号
	private String physicalExam;		// 体格检査
	private String hisPresent;		// 现病史
	private String chiefComplaint;		// 主诉
	private String observationCn;		// 中医&ldquo;四诊&rdquo;观察结果
	private String therPrin;		// 治则治法
	private String idCard;		// 身份证号
	 private String doctorCard;
	 private String age; //为了his字段统一
	 private String sex;

	private List<Diagnosis> diagnosisList;  //电子病历门诊记录诊断

     private List<ClinicCost> clinicCostList;
	 private String doctorId;		// 医生Id
	 private String clinicType;		// 挂号状态 0:未就诊 1：已就诊 2：退号
	 private String deptId;		// 就诊科室
	 private String hisFlag;  //开单向his开单 0：未开单 1：已开单

	 private String hisType;  // 向his上传数据的类型 0：开单 1：转诊
	 private String visitNo;  //就诊序号
	 private String isPublic;

	 public String getIsPublic() {
		 return isPublic;
	 }

	 public void setIsPublic(String isPublic) {
		 this.isPublic = isPublic;
	 }

	 public String getSex() {return sex;}

	 public void setSex(String sex) {this.sex = sex;}

	 public String getVisitNo() {
		 return visitNo;
	 }

	 public void setVisitNo(String visitNo) {
		 this.visitNo = visitNo;
	 }

	 public String getHisType() {
		 return hisType;
	 }

	 public void setHisType(String hisType) {
		 this.hisType = hisType;
	 }

	 public String getHisFlag() {
		 return hisFlag;
	 }

	 public void setHisFlag(String hisFlag) {
		 this.hisFlag = hisFlag;
	 }

	 public String getDoctorCard() {
		 return doctorCard;
	 }
	 public String getAge() {
		 return age;
	 }

	 public void setAge(String age) {
		 this.age = age;
	 }

	 public void setDoctorCard(String doctorCard) {
		 this.doctorCard = doctorCard;
	 }

	 public String getDeptId() {
		 return deptId;
	 }

	 public void setDeptId(String deptId) {
		 this.deptId = deptId;
	 }

	 public String getDoctorId() {
		 return doctorId;
	 }

	 public void setDoctorId(String doctorId) {
		 this.doctorId = doctorId;
	 }

	 public String getClinicType() {
		 return clinicType;
	 }

	 public void setClinicType(String clinicType) {
		 this.clinicType = clinicType;
	 }

	 public List<ClinicCost> getClinicCostList() {
		 return clinicCostList;
	 }

	 public void setClinicCostList(List<ClinicCost> clinicCostList) {
		 this.clinicCostList = clinicCostList;
	 }

	 public ClinicMaster() {
		super();
	}

	public ClinicMaster(String id){
		super(id);
	}

	@Length(min=0, max=64, message="用户id长度必须介于 0 和 64 之间")
	public String getBaseInfo() {
		return baseInfo;
	}

	public void setBaseInfo(String baseInfo) {
		this.baseInfo = baseInfo;
	}
	
	@Length(min=0, max=50, message="患者姓名长度必须介于 0 和 50 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=1, max=3, message="年龄（岁）长度必须介于 1 和 3 之间")
	public String getAgeYear() {
		return ageYear;
	}

	public void setAgeYear(String ageYear) {
		this.ageYear = ageYear;
	}
	
	@Length(min=0, max=3, message="年龄（月）长度必须介于 0 和 3 之间")
	public String getAgeMonth() {
		return ageMonth;
	}

	public void setAgeMonth(String ageMonth) {
		this.ageMonth = ageMonth;
	}
	
	@Length(min=0, max=20, message="电话号码长度必须介于 0 和 20 之间")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Length(min=0, max=1, message="患者类型代码长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=2, message="费别长度必须介于 0 和 2 之间")
	public String getChargeType() {
		return chargeType;
	}

	public void setChargeType(String chargeType) {
		this.chargeType = chargeType;
	}
	
	@Length(min=0, max=20, message="门诊记录表编号长度必须介于 0 和 20 之间")
	public String getOrNumber() {
		return orNumber;
	}

	public void setOrNumber(String orNumber) {
		this.orNumber = orNumber;
	}
	
	@Length(min=0, max=70, message="就诊机构名称长度必须介于 0 和 70 之间")
	public String getVrName() {
		return vrName;
	}

	public void setVrName(String vrName) {
		this.vrName = vrName;
	}
	
	@Length(min=0, max=10, message="就诊机构代码长度必须介于 0 和 10 之间")
	public String getVrCode() {
		return vrCode;
	}

	public void setVrCode(String vrCode) {
		this.vrCode = vrCode;
	}
	
	@Length(min=0, max=50, message="就诊科室名称长度必须介于 0 和 50 之间")
	public String getVdName() {
		return vdName;
	}

	public void setVdName(String vdName) {
		this.vdName = vdName;
	}

     public Date getvDatetime() {
         return vDatetime;
     }

     public void setvDatetime(Date vDatetime) {
         this.vDatetime = vDatetime;
     }

     @Length(min=0, max=20, message="实收费用长度必须介于 0 和 20 之间")
	public String getClinicChage() {
		return clinicChage;
	}

	public void setClinicChage(String clinicChage) {
		this.clinicChage = clinicChage;
	}
	
	@Length(min=0, max=200, message="咨询问题长度必须介于 0 和 200 之间")
	public String getConsulteProblem() {
		return consulteProblem;
	}

	public void setConsulteProblem(String consulteProblem) {
		this.consulteProblem = consulteProblem;
	}
	
	@Length(min=0, max=200, message="卫生服务要求长度必须介于 0 和 200 之间")
	public String getHsRequirement() {
		return hsRequirement;
	}

	public void setHsRequirement(String hsRequirement) {
		this.hsRequirement = hsRequirement;
	}
	
	@Length(min=0, max=4, message="症状持续时间(min)长度必须介于 0 和 4 之间")
	public String getPsTime() {
		return psTime;
	}

	public void setPsTime(String psTime) {
		this.psTime = psTime;
	}
	
	@Length(min=0, max=200, message="处置计划长度必须介于 0 和 200 之间")
	public String getDisPlan() {
		return disPlan;
	}

	public void setDisPlan(String disPlan) {
		this.disPlan = disPlan;
	}
	
	@Length(min=0, max=1, message="初诊标志代码长度必须介于 0 和 1 之间")
	public String getVisitSign() {
		return visitSign;
	}

	public void setVisitSign(String visitSign) {
		this.visitSign = visitSign;
	}
	
	@Length(min=0, max=200, message="健康问题评估长度必须介于 0 和 200 之间")
	public String getHpAssessment() {
		return hpAssessment;
	}

	public void setHpAssessment(String hpAssessment) {
		this.hpAssessment = hpAssessment;
	}
	
	@Length(min=0, max=1000, message="过敏史长度必须介于 0 和 1000 之间")
	public String getAllHistory() {
		return allHistory;
	}

	public void setAllHistory(String allHistory) {
		this.allHistory = allHistory;
	}
	
	@Length(min=0, max=1, message="过敏史标志长度必须介于 0 和 1 之间")
	public String getIsAllHistory() {
		return isAllHistory;
	}

	public void setIsAllHistory(String isAllHistory) {
		this.isAllHistory = isAllHistory;
	}
	
	@Length(min=0, max=1000, message="既往史长度必须介于 0 和 1000 之间")
	public String getPastHistory() {
		return pastHistory;
	}

	public void setPastHistory(String pastHistory) {
		this.pastHistory = pastHistory;
	}
	
	@Length(min=0, max=200, message="门（急）诊号长度必须介于 0 和 200 之间")
	public String getClinicNo() {
		return clinicNo;
	}

	public void setClinicNo(String clinicNo) {
		this.clinicNo = clinicNo;
	}
	
	@Length(min=0, max=100, message="体格检査长度必须介于 0 和 100 之间")
	public String getPhysicalExam() {
		return physicalExam;
	}

	public void setPhysicalExam(String physicalExam) {
		this.physicalExam = physicalExam;
	}
	
	@Length(min=0, max=200, message="现病史长度必须介于 0 和 200 之间")
	public String getHisPresent() {
		return hisPresent;
	}

	public void setHisPresent(String hisPresent) {
		this.hisPresent = hisPresent;
	}
	
	@Length(min=0, max=100, message="主诉长度必须介于 0 和 100 之间")
	public String getChiefComplaint() {
		return chiefComplaint;
	}

	public void setChiefComplaint(String chiefComplaint) {
		this.chiefComplaint = chiefComplaint;
	}
	
	@Length(min=0, max=100, message="中医&ldquo;四诊&rdquo;观察结果长度必须介于 0 和 100 之间")
	public String getObservationCn() {
		return observationCn;
	}

	public void setObservationCn(String observationCn) {
		this.observationCn = observationCn;
	}
	
	@Length(min=0, max=200, message="治则治法长度必须介于 0 和 200 之间")
	public String getTherPrin() {
		return therPrin;
	}

	public void setTherPrin(String therPrin) {
		this.therPrin = therPrin;
	}

     public String getIdCard() {
         return idCard;
     }

     public void setIdCard(String idCard) {
         this.idCard = idCard;
     }

     public List<Diagnosis> getDiagnosisList() {
         return diagnosisList;
     }

     public void setDiagnosisList(List<Diagnosis> diagnosisList) {
         this.diagnosisList = diagnosisList;
     }
 }